<?php

class Main extends Controller {

	function Main(){
		parent::Controller();	
	}
	function _setConstant(){
		$data['js1'] = 'jquery-1.4.2.js';
		$data['js2'] = 'jquery.form.js';
		$data['js3'] = "jquery.validate.pack.js";
		
		$data['aboutLink'] = base_url().'main/about';
		$data['contactLink'] = base_url().'main/contact';
		$data['helpLink'] = base_url().'main/help';
		return $data;
	}
	function index(){
		$this->about();
	}
	function home(){
		redirect('/home');
	}
	function about(){
		$data ['pageTitle'] = 'About I-See';
		$this->load->view('about',$data);
	}
	function help(){
		$data ['pageTitle'] = 'Help I-See';
		$this->load->view('help',$data);
	}
	function term(){
		$data ['pageTitle'] = 'Term I-See';
		$this->load->view('term',$data);
	}
	
	function tesview(){
		$data ['pageTitle'] = 'Term I-See';
		$this->load->view('tesview',$data);
	}
}